<template>
	<view>
		<mh-navbar custom :back="true" :title="issueInfo.title" fixed center zIndex="1010" />
		<view class="issue-container">
			<rich-text :nodes="issueInfo.content"></rich-text>
		</view>
	</view>
</template>

<script>
	import graceRichText from '@/common/rechText.js';
	export default {
		data() {
			return {
				issueInfo:{},
				issueId:'',
			}
		},
		onLoad(e){
			this.issueId = e.issueId;
			this.getIssueInfo();
		},
		methods: {
			getIssueInfo(){
				this.$u.api.issueInfo({issueId:this.issueId}).then(res => {
					if (res.code == 200){
						this.issueInfo = res.data;
					}
				});
			}
		}
	}
</script>

<style lang="scss">
.issue-container{
	display: flex;
	flex-direction: column;
	padding: 20px;
	.issue-title{
		
	}
	.issue-content{
		
	}
}
</style>
